package main

import (
	"net"
	"sync"
)

type GOQd struct {
	sync.RWMutex
	topicMap map[string]*Topic //话题集合

	tcpAddr      *net.TCPAddr
	httpAddr     *net.TCPAddr
	tcpListener  net.Listener
	httpListener net.Listener
	idChan       chan []byte
	exitChan     chan int
}

func (n *GOQd) GetTopic(topicName string) *Topic {

}
